package com.dnxh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dnxh.entity.Department;
import com.dnxh.entity.common.PageContext;
import com.dnxh.entity.common.PageRequest;

import java.util.List;

/**
 * The interface Department service.
 *
 * @Author 枳湫
 * @Time 2022 /4/6 18:19
 * @Describe Basic_jar
 */
public interface DepartmentService extends IService<Department> {
	
	/**
	 * 查询部门等信息
	 *
	 * @param req the request
	 * @return the list
	 */
	PageContext<Department> search(PageRequest req);
	
	/**
	 * Delete department.
	 *
	 * @param id the id
	 */
	void deleteDepartment(Long id);
}
